<%@ page import="top.wuyang.study.javawebjdbc.workexam.TbExamDAO" %><%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2024/5/30
  Time: 14:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>删除</title>
</head>
<body>

<%
    request.setCharacterEncoding("UTF-8");
    Integer id = Integer.parseInt(request.getParameter("id"));
    TbExamDAO.delete(id);
%>

<script>
    alert("成绩删除成功");
    location.href='list.jsp';
</script>


</body>
</html>
